package com.es.www.secondWay;

/**
 * @Created by michangtao
 * @Date 2022/5/16 13:33
 * @Description
 */
public abstract class Builder {

    /**
     * 制作汉堡包
     */
    protected abstract Builder buildHamburger(String hamburger);

    /**
     * 制作薯条
     */
    protected abstract Builder buildFries(String fries);

    /**
     * 制作可乐
     */
    protected abstract Builder buildCola(String cola);

    /**
     * 制作鸡腿
     */
    protected abstract Builder buildDrumstick(String drumstick);

    /**
     * 获取套餐
     * @return
     */
    protected abstract Product buildProduct();


}
